package com.ruoyi.app.domain.realtimepositioning;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.system.domain.request.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class QueryVehicleListParam extends PageParam {

    @ApiModelProperty("所属公司ID集合")
    private List<Long> companyIds;
    @ApiModelProperty("设备号或设备名称模糊查询用")
    private String text;
    @ApiModelProperty("监管类型集合")
    private List<Integer> objTypes;
    @ApiModelProperty("是否在线(0离线 1在线 2从未上线)")
    private Integer isOnline;
    @ApiModelProperty("激活开始时间（yyyy-MM-dd）")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date activateStartTime;
    @ApiModelProperty("激活结束时间（yyyy-MM-dd）")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date activateEndTime;

}
